package cn.codeforfun.auth.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author wangbin
 */
@Getter
@Setter
public class AuthResponse {
    @JsonProperty("expires_in")
    private Integer expiresIn;
    private Date expiresAt;
    @JsonProperty("refresh_token")
    private String refreshToken;
    @JsonProperty("access_token")
    private String accessToken;
    @JsonProperty("session_secret")
    private String sessionSecret;
    @JsonProperty("session_key")
    private String sessionKey;
    private String scope;
}
